Get an asset's GPS history
Returns the reported GPS location history of a non-powered asset between two dates, up to 30 days apart.
A 400 status will be returned if any of the following conditions are not met:
- The assetnumber must not be null or empty and be no more than 96 characters long
- The startdatetimeutc and enddatetimeutc parameters are both required and should have the format yyyy-MM-ddTHH:mm:ss
- The enddatetimeutc DateTime cannot be before startdatetimeutc
- The startdatetimeutc and enddatetimeutc must be within 30 days of each other
- The enddatetimeutc DateTime cannot be after the DateTime that the request was made
- The startdatetimeutc DateTime cannot be before the DataPlan of the requesting Account
Notes:
- Gps history locations may be not found (Status 204) if the Asset has not yet reported a location, or if it has but the last time it reported was outside the DataPlan of the account
Sample request:
GET /v1/assets/A10001/status/history?startdatetimeutc=2020-04-27T19:00:00&enddatetimeutc=2020-05-01T01:00:00
Query Parameters
The end of the date range for which to get Gps location history for the assetNumber. Must have the format yyyy-MM-ddTHH:mm:ss. Must be within 30 days of startDateTimeUtc. Must be after startDateTimeUtc and before the DateTime the request was made.
Example:2020-05-01T01:00:00
The start of the date range for which to get Gps location history for the assetNumber. Must have the format yyyy-MM-ddTHH:mm:ss. Must be within 30 days of endDateTimeUtc. Must be within the account’s DataPlan
Example:2020-04-27T19:00:00
Path Parameters
The AssetNumber for which to get Gps location history. Should not be null or empty and should be no more than 96 characters long
Example:A10001
Response
Response
If the request was successful
Designed for Asset History requests
/v1/assets/{assetnumber}/status/history
Address contains the global standards for address components
Show Child Parameters
The GPS device’s current time zone compared to UTC
Example:12
If the REVEAL account is set to acknowledge Daylight Savings Time then this value will return as TRUE. REVEAL accounts in the United States are automatically defaulted to True.
Example:false
The latitude of the location
Example:-41
The longitude of the location
Example:163
The date time that the location was reported to reveal
Example:2020-04-29T22:06:37
AssetLocation
objectDesigned for Asset History requests
/v1/assets/{assetnumber}/status/history
Address contains the global standards for address components
Show Child Parameters
The GPS device’s current time zone compared to UTC
Example:12
If the REVEAL account is set to acknowledge Daylight Savings Time then this value will return as TRUE. REVEAL accounts in the United States are automatically defaulted to True.
The latitude of the location
Example:-41
The longitude of the location
Example:163
The date time that the location was reported to reveal
Example:2020-04-29T22:06:37
ContentResource[AssetGeoLocation]
objectDesigned for Asset last Location requests
/v1/assets/{assetnumber}/location
Show Child Parameters
Allowed values:100101102103200201202203204205206207208226300301302303304305306307308400401402403404405406407408409410411412413414415416417421422423424426428429431451500501502503504505506507508510511
Address
objectAddress contains the global standards for address components
Location specific identification such as a house number
Example:57 Bealey Avenue
Additional information to identify location such as an apartment number
‘City’ is presented to the customer as ‘Locality’
Example:Christchurch
‘State’ is presented to the customer as ‘AdministrativeArea’
Example:Canterbury
Example:8013
Example:NZL
ExternalAssetUpdate
object<= 96 characters
<= 45 characters